// DatabaseHelper.h: interface for the DatabaseHelper class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DATABASEHELPER_H__9A04AF65_378C_43B0_B76B_DA86616F26AE__INCLUDED_)
#define AFX_DATABASEHELPER_H__9A04AF65_378C_43B0_B76B_DA86616F26AE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class DatabaseHelper
{
public:
	DatabaseHelper();
	virtual ~DatabaseHelper();

	virtual bool CreateDSN() = 0;
	virtual LPCTSTR GetConnect() = 0;
	virtual bool Init();
	virtual void Cleanup();

	CDatabase * GetpDatabase() const {return m_pDatabase;}

protected:
	CDatabase * m_pDatabase;
};

#endif // !defined(AFX_DATABASEHELPER_H__9A04AF65_378C_43B0_B76B_DA86616F26AE__INCLUDED_)
